﻿using System;
using System.Collections.Generic;
using System.Linq;
using Catalog.Interfaces;

namespace Catalog
{
    public class Record
    {
        private static IList<IRentable> allRecords = new List<IRentable>();

        private IList<IRentable> renterRecords;

        public Record()
        {
            this.renterRecords = new List<IRentable>();
        }

        public void AddRecord(IRentable item)
        {
            this.renterRecords.Add(item);
            allRecords.Add(item);
        }
    }
}